package com.ykg.pojo;
import io.swagger.annotations.ApiModel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("合同")
@ToString
public class Contract {
    private String contractId;
    private Long ownerId;
    private Date beginDate;
    private String listId;
    private Long shipId;
    private Long tid;
    private Float earnestmoney;
    private Float surrendermoney;
    private Float handlingcharges;
    private Date endDate;

    public Contract(String contractId, Long ownerId, String listId, Long shipId, Long tid) {
        this.contractId = contractId;
        this.ownerId = ownerId;
        this.listId = listId;
        this.shipId = shipId;
        this.tid = tid;
    }
}
